package com.haredot.event;

import com.haredot.entity.Notify;
import org.springframework.context.ApplicationEvent;

/**
 * 自定义通知事件类型
 */
public class RssNotifyEvent extends ApplicationEvent {

    private Notify notify ;

    public RssNotifyEvent(Object source, Notify notify) {
        super(source);
        this.notify = notify;
    }

    public Notify getNotify() {
        return notify;
    }
}
